Creating an XML |
|
Creating an XML helps you to bundle XML content with the application that you are building. All you need is to create the document using the XML structure that you have and save it with .xml extension. The interface supports both writing the XML structure or copying and pasting a predefined XML structure from an external source. However, ensure that the file name with which you save the document ends with .xml extension. You can create an XML file at the project level or in a folder within the project. If you create an XML file within a folder, you can set Qualified Name (QN) on that folder to exclusively publish its contents to XML Store.
- Select a starting point and click
to open the XML editor.
- Type the xml content in the provided space and click
.
CAUTION:Ensure that the XML is valid. Otherwise it may not work as expected. - Provide the Name and Description, and click
to browse and select the location to save the XML file. The folder path where the XML will be created appears in the Save in Folder field.
- Click Save. The Save Document dialog box closes.
- Close the XML window.
The XML is created with the provided name and is stored at the selected location.
After you complete this task:
Create an XML Store Definition that bundles the XML in a suitable format so that it can be packaged with the application and deployed to be used at run time. It can then be viewed using the XML Store Explorer.